package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RelevantagreeFactory
{
    private RelevantagreeFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagree getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagree)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("49D4EBFA") ,com.kingdee.eas.minghua.contract.IRelevantagree.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IRelevantagree getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagree)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("49D4EBFA") ,com.kingdee.eas.minghua.contract.IRelevantagree.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagree getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagree)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("49D4EBFA"));
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagree getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagree)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("49D4EBFA"));
    }
}